﻿@model IEnumerable<Backend.JYD.Model.Bid.InviteInfo>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script src="@Url.Content("~/skin/datepicker/WdatePicker.js")" type="text/javascript"></script>
<div class="frame-tit">
    <span class="ico-left"></span>
    <div class="title">我的意向管理</div>
    <span class="ico-right"></span>
    <div class="title-side blu line">
        @Html.ActionLink("Create New", "Edit", new { inviteId = 0})
        <a href="1-2.html">信息录入</a>
        <a href="1-3.html">查询修改</a>
    </div>
</div>
<div class="frame-cont">
    <table class="table1" width="100%" border="0" cellpadding="0" cellspacing="1">
        <tr>
        <th width="10%"><div class="th1">序号</div></th>
        <th width="10%"><div class="th1">业务编码</div></th>
        <th width="26%"><div class="th1">需求来源</div></th>
        <th width="14%"><div class="th1">姓名</div></th>
        <th width="14%"><div class="th1">意向金额（元）</div></th>
        <th width="12%"><div class="th1">意向期限（个月）</div></th>
        <th width="14%"><div class="th1">操作</div></th>
        </tr>
        <tr>
        <td><div class="th1">admin</div></td>
        <td><div class="th1">235065</div></td>
        <td><div class="th1">需求来源需求来源</div></td>
        <td><div class="th1">张三张三</div></td>
        <td><div class="th1">100万</div></td>
        <td><div class="th1">36</div></td>
        <td><div class="th2"><a href="#">删除</a><span>|</span><a href="#">查看</a></div></td>
        </tr>
    </table>
    <div class="page-info">
    	<div class="fl page-info-left">共有<strong> 243</strong> 条记录，当前第<strong> 1</strong> 页，共 <strong>10</strong> 页</div>
        <div class="page"><span>首页</span><span>上一页</span><a class="active">1</a><a>2</a><a>3</a><a>4</a><a>5</a><a>6</a><a>7</a><a>...</a><a>10</a><a>下一页</a><a>末页</a></div>
    </div>
    
<table>
    <tr>
        <th></th>
        <th>
            InviteId
        </th>
        <th>
            IntentId
        </th>
        <th>
            CustNo
        </th>
        <th>
            LoanMoney
        </th>
        <th>
            Term
        </th>
        <th>
            Rate
        </th>
        <th>
            Type
        </th>
        <th>
            Status
        </th>
        <th>
            CreateTime
        </th>
        <th>
            UpdateTime
        </th>
        <th>
            OpId
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.ActionLink("Edit", "Edit", new { inviteId = item.InviteId /* id=item.PrimaryKey */ }) |
            @Html.ActionLink("Details", "Details", new { inviteId = item.InviteId/* id=item.PrimaryKey */ }) |
        </td>
        <td>
            @item.InviteId
        </td>
        <td>
            @item.IntentId
        </td>
        <td>
            @item.CustNo
        </td>
        <td>
            @String.Format("{0:F}", item.LoanMoney)
        </td>
        <td>
            @item.Term
        </td>
        <td>
            @String.Format("{0:F}", item.Rate)
        </td>
        <td>
            @item.Type
        </td>
        <td>
            @item.Status
        </td>
        <td>
            @String.Format("{0:g}", item.CreateTime)
        </td>
        <td>
            @String.Format("{0:g}", item.UpdateTime)
        </td>
        <td>
            @item.OpId
        </td>
    </tr>
}

</table>


</div>

